package com.cn.xiaonuo.slbfinances.members.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cn.xiaonuo.common.entity.BusinessMessage;
import com.cn.xiaonuo.slbfinances.members.param.SlUserParam;
import com.cn.xiaonuo.slbfinances.members.entity.SlUser;

import javax.servlet.http.HttpServletResponse;
import java.math.BigDecimal;

public interface IMemberService extends IService<SlUser> {
    //
   BusinessMessage exchange(Integer type, Integer cuserId, Integer muserId, BigDecimal money, Integer operaUserId, String userName);

    //会员管理--搜了宝-->上下级记录--列表页
    BusinessMessage queryRelation(Integer pageNum, Integer pageSize,String userId,String phone);
    BusinessMessage queryLowerLevel(Integer pageNo, Integer pageSize,Integer userId);

    BusinessMessage membersPage(SlUserParam slUserParam);

    BusinessMessage membersDetail(SlUserParam slUserParam);

    void listExport(HttpServletResponse response, SlUserParam slUserParam);
}
